package org.budo.support.spring.bean.factory.util;

import org.springframework.beans.factory.FactoryBean;

/**
 * @author limingwei
 */
public class FactoryBeanUtil {
    public static Object getObject(FactoryBean factoryBean) {
        try {
            return factoryBean.getObject();
        } catch (Exception e) {
            throw new RuntimeException(e);
        }
    }
}